<?php
class PcAction extends Action
{
	public function getM(){
		$map ['status'] = 1;
		$waitingCount = M('Task')->where($map)->count();
		$this->assign ( 'waitingCount', $waitingCount );
		echo $waitingCount;
	}
	public function getA(){
		$QueueModel = D ( 'Queue' );
		$waitingAuditCount = $QueueModel->getStatusCount ( 6 );
		echo $waitingAuditCount;
	}
}
?>
